package com.firewolf.oa.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionSupport;

@Controller
@Scope("prototype")
public class IndexAction extends ActionSupport{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7845543840438790007L;

	/**
	 * 到主页
	 * @return
	 */
	public String index(){
		return "index";
	}
	/**
	 * 到上面
	 * @return
	 */
	public String top(){
		return "top";
	}
	/**
	 * 到主页
	 * @return
	 */
	public String bottom(){
		return "bottom";
	}
	/**
	 * 到左边
	 * @return
	 */
	public String left(){
		return "left";
	}
	
	/**
	 * 右边
	 * @return
	 */
	public String right(){
		return "right";
	}
}
